Problem with creating fragment library

More
8 years 10 months ago #22 by emarin
Dear Mark,

Thanks for using the code! We are working on your problem, we'll get back to you as soon as possible.

Eliseo.

Please Log in to join the conversation.

More
8 years 10 months ago #23 by ejmaginn
Mark,
Thanks for bringing this up - we will get back with you after we look into this a bit more.

-Ed

Please Log in to join the conversation.

  • MonteCarlo83
  • MonteCarlo83's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 10 months ago #24 by MonteCarlo83
OK, thank you very much for your efforts.

Greetings,
Mark

Please Log in to join the conversation.

More
8 years 10 months ago #26 by ryangmullen
Hi Mark,

The attachment functionality on this forum does not appear to be working. Can you paste your pdb and ff files for cyclopentane directly onto the forum?

A rigid molecule will only have 1 configuration in the fragment library. The original library_setup.py doesn't handle rigid molecules. You can create the data file by hand, or we have a new version of library_setup.py that, for rigid molecules, will reformat your pdb file into a data file. I can send the new script to you if you email me directly.

Ryan
rmullen2 at nd dot edu

Please Log in to join the conversation.

  • MonteCarlo83
  • MonteCarlo83's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 10 months ago #27 by MonteCarlo83
Hi Ryan,

thank you for your quick reply. I would be happy, if you could send me the new version of the script, so I wrote you an Email.
Here is my pdb-file created with Avogadro (United Atom):

COMPND UNNAMED
AUTHOR GENERATED BY OPEN BABEL 2.3.2
ATOM 1 C LIG 1 -0.484 1.004 0.646 1.00 0.00 C
ATOM 2 C LIG 1 0.557 1.066 -0.466 1.00 0.00 C
ATOM 3 C LIG 1 0.988 -0.372 -0.744 1.00 0.00 C
ATOM 4 C LIG 1 0.002 -1.291 -0.025 1.00 0.00 C
ATOM 5 C LIG 1 -1.071 -0.401 0.596 1.00 0.00 C
CONECT 1 2 5
CONECT 2 1 3
CONECT 3 2 4
CONECT 4 3 5
CONECT 5 1 4
MASTER 0 0 0 0 0 0 0 0 5 0 5 0
END

My ff-file with added values :

atomtypes
1

begin atom-atomtype
1 C
2 C
3 C
4 C
5 C
end atom-atomtype

dihedraltype OPLS

nonbonded
C
Sigma 3.88
Epsilon 56.33

bonds
C C
Length 1.54
Constant fixed

angles
C C C
Angle 105.5
Constant 31250.0

dihedrals
C C C C
a0 31394.0
a1 45914.0
a2 16518.0
a3 1496.0

charge
1 0

charge
2 0

charge
3 0

charge
4 0

charge
5 0

end

My mcf-file looks like this:

!**********************************************************************************
!Molecular connectivity file for cyclohexane.pdb
!**********************************************************************************

# Atom_Info
6
1 C1 C 14.0000 0 LJ 52.5 3.91 ring
2 C2 C 14.0000 0 LJ 52.5 3.91 ring
3 C3 C 14.0000 0 LJ 52.5 3.91 ring
4 C4 C 14.0000 0 LJ 52.5 3.91 ring
5 C5 C 14.0000 0 LJ 52.5 3.91 ring
6 C6 C 14.0000 0 LJ 52.5 3.91 ring

# Bond_Info
6
1 1 2 fixed 1.54
2 1 3 fixed 1.54
3 2 5 fixed 1.54
4 3 4 fixed 1.54
5 4 6 fixed 1.54
6 5 6 fixed 1.54

# Angle_Info
6
1 2 1 3 harmonic 31250.0 114.0
2 1 2 5 harmonic 31250.0 114.0
3 1 3 4 harmonic 31250.0 114.0
4 3 4 6 harmonic 31250.0 114.0
5 2 5 6 harmonic 31250.0 114.0
6 4 6 5 harmonic 31250.0 114.0

# Dihedral_Info
6
1 1 2 5 6 OPLS 42.17 56.86 29.17 0.5237
2 1 3 4 6 OPLS 42.17 56.86 29.17 0.5237
3 2 1 3 4 OPLS 42.17 56.86 29.17 0.5237
4 2 5 6 4 OPLS 42.17 56.86 29.17 0.5237
5 3 1 2 5 OPLS 42.17 56.86 29.17 0.5237
6 3 4 6 5 OPLS 42.17 56.86 29.17 0.5237

# Fragment_Info
1
1 6 1 2 5 6 4 3

# Improper_Info
0

# Fragment_Connectivity
0


END

I hope I didn't forget anything.

Best regards,
Mark

Please Log in to join the conversation.

More
8 years 10 months ago #28 by ryangmullen
Hi Mark,

Thanks for posting your files. The format of your pdb and ff file look fine, but the posted mcf is for cyclohexane. You can post your cyclopentane.mcf or you can use the one at the bottom of my post. However, I will warn you, even using the TraPPE parameters on the website, I get really compressed cyclopentane structures. This appears to be an issue with the TraPPE dihedral energies. For example, I generated a fragment library for UA cyclopentane, UA cyclohexane and all atom cyclopentane (amber 03 forcefield). All three give similar angle energies, but the UA cyclopentane dihedral energies are much higher:

......................................angle energy....................dihedral energy
UA cyclopentane........................237...................................395389 kJ/mol
UA cyclohexane..........................343.....................................38387
AA cyclopentane.........................311......................................5879

I would suggest contacting the Siepmann group to see if the reported dihedral parms are correct.

Converting TraPPE dihedral parms to Cassandra (cyclic alkanes)

The TraPPE website reports dihedral parms in K, whereas Cassandra requires kJ/mol. In addition, the TraPPE functional form for cyclic alkane dihedrals is slightly different than the one they used for linear alkanes (which is what Cassandra uses). Cassandra uses the dihedral functional:

E = a0 + a1 ( 1 + cos f) + a2 (1 - cos 2f) + a3 (1 + cos 3f)

whereas the TraPPE functional for cyclic alkanes is

E = c0 + c1 * cos f + c2 * cos 2f + c3 * cos 3f

To convert, use the following formulas:

a0 = (c0 - c1 + c2 - c3) * 8.314 / 1000
a1 = c1 * 8.314 / 1000
a2 = - c2 * 8.314 / 1000
a3 = c3 * 8.314 / 1000

So the parameters for cyclopentane should be a0 = 4.174, a1 = 381.729, a2 = -137.337, a3 = 12.438. The same parameters for cyclohexane should by a0 = 13.959, a2 = -29.174 (your a1 and a3 are fine).

Cyclopentane.mcf

!*******************************************************************************
!Molecular connectivity file for c5cyclo.pdb
!*******************************************************************************
!Atom Format
!index type element mass charge type parameters
!type="LJ", parms=epsilon sigma

# Atom_Info
5
1 C_s1 C 14.027 0.0 LJ 56.300 3.880 ring
2 C_s1 C 14.027 0.0 LJ 56.300 3.880 ring
3 C_s1 C 14.027 0.0 LJ 56.300 3.880 ring
4 C_s1 C 14.027 0.0 LJ 56.300 3.880 ring
5 C_s1 C 14.027 0.0 LJ 56.300 3.880 ring

!Bond Format
!index i j type parameters
!type="fixed", parms=bondLength

# Bond_Info
5
1 1 2 fixed 1.540
2 1 5 fixed 1.540
3 2 3 fixed 1.540
4 3 4 fixed 1.540
5 4 5 fixed 1.540

!Angle Format
!index i j k type parameters
!type="fixed", parms=equilibrium_angle
!type="harmonic", parms=force_constant equilibrium_angle

# Angle_Info
5
1 2 1 5 harmonic 31250.0 105.50
2 1 2 3 harmonic 31250.0 105.50
3 2 3 4 harmonic 31250.0 105.50
4 3 4 5 harmonic 31250.0 105.50
5 1 5 4 harmonic 31250.0 105.50

!Dihedral Format
!index i j k l type parameters
!type="none"
!type="CHARMM", parms=a0 a1 delta
!type="OPLS", parms=c0 c1 c2 c3
!type="harmonic", parms=force_constant equilibrium_dihedral

# Dihedral_Info
5
1 1 2 3 4 OPLS 4.174 381.729 -137.337 12.438
2 1 5 4 3 OPLS 4.174 381.729 -137.337 12.438
3 2 1 5 4 OPLS 4.174 381.729 -137.337 12.438
4 2 3 4 5 OPLS 4.174 381.729 -137.337 12.438
5 3 2 1 5 OPLS 4.174 381.729 -137.337 12.438

# Improper_Info
0

!Fragment Format
!index number_of_atoms_in_fragment branch_point other_atoms

# Fragment_Info
1
1 5 1 2 3 4 5


# Fragment_Connectivity
0


END

Please Log in to join the conversation.

Time to create page: 0.136 seconds